package cn.edu.scau.sec.rw.model.pro_manage;

import cn.edu.scau.sec.rw.controllers.CommonBridge;
import cn.edu.scau.sec.rw.model.disk_file.file.ExeFile;
import cn.edu.scau.sec.rw.model.pro_manage.simulation.CPU;
import cn.edu.scau.sec.rw.model.pro_manage.threadExe.*;

/**
 *
 */
public class Manager {
    private CPUThread cpuThread = new CPUThread();
    private SysTimeThread sysTimeThread = new SysTimeThread();
    private DeviceThread deviceThread = new DeviceThread();
    private SelectProThread selectProThread = new SelectProThread();


    public void startCPUThread() {
        cpuThread.setPriority(10);
        cpuThread.start();
    }
    public void startSystemTimeThread() {
        sysTimeThread.start();
    }

    public void startSelectProThread() {
        selectProThread.start();
    }

   public void startDeviceThread() {
        deviceThread.setPriority(9);
       deviceThread.start();
   }


}
